//
//  UserDefaultUtil.h
//  Hive
//
//  Created by 惠俊贝 on 15/8/24.
//  Copyright (c) 2015年 ZM. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Customer;
@interface UserDefaultUtil : NSObject

+ (void)setToken:(NSString *)tokenStr;

+ (NSString *)getToken;


+ (void)setUserName:(NSString *)username;

+ (NSString *)getUserName;


+ (void)setUserID:(NSString *)userid;

+ (NSString *)getUserID;


+ (void)setTempQty:(NSString *)TempQty;
+ (NSString *)getTempQty;

+ (void)setSystem:(NSString *)System;
+ (NSString *)getSystem;

+ (void)setAleaQty:(NSString *)AleaQty;
+ (NSString *)getAleaQty;

+ (void)setCustomer:(Customer *)Customer;
+ (Customer *)getCustomer;

@end


@interface UserDefaultUtil (UserSet)
+ (void)setIsAutoLogin:(BOOL)selected;
+ (BOOL)isAutoLogin;
+ (void)setIsRememberPSWD:(BOOL)selected;
+ (BOOL)isRememberPSWD;

+ (void)setUserAccount:(NSString *)account;
+ (NSString *)getUserAccount;
+ (void)setPassword:(NSString *)password;
+ (NSString *)getPassword;
@end
